Assign a custom global pseudo variable in Code Igniter like {elapsed_time}
Posted
by Fábio Antunes
on Stack Overflow
See other posts from Stack Overflow
or by Fábio Antunes
Published on 2010-06-13T18:10:37Z
Indexed on
2010/06/14
16:52 UTC
Read the original article
Hit count: 423
php
|codeigniter
Hello
As you probably all know Code Igniter can assign pseudo variables using the Parser library, but you also know that if we want to assign a Pseudo Variable to use it in a View, we have to do it in every controller that loads those views with the pseudo variables.
I would like to know if Code Igniter 1.7.2 has some way that i can assign a Global Pseudo variable (like the pseudo variables from the Benchmarking Class).
The pseudo variables i want, would have simple data mostly returned from the $config
array in the config.php
file.
If some could help me with that.
Regards.
© Stack Overflow or respective owner